<?php 
require_once(dirname(__FILE__).'/../../../wp-config.php');
require(dirname(__FILE__).'/../../../wp-blog-header.php');
nocache_headers();

function fail($s) {
	header("HTTP/1.0 500 Internal Server Error");
	echo $s;
	exit;
}

foreach($_POST as $k=>$v) {
	$_POST[$k] = urldecode($v);
}

include (TEMPLATEPATH . '/loop.php');
?>